package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 性质对象 nature
 *
 * @author ruoyi
 * @date 2021-02-02
 */
public class Nature extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long natId;

    /** 名称 */
    @Excel(name = "名称")
    private String natName;

    /** 可用性 */
    @Excel(name = "可用性")
    private String natState;

    public void setNatId(Long natId)
    {
        this.natId = natId;
    }

    public Long getNatId()
    {
        return natId;
    }
    public void setNatName(String natName)
    {
        this.natName = natName;
    }

    public String getNatName()
    {
        return natName;
    }
    public void setNatState(String natState)
    {
        this.natState = natState;
    }

    public String getNatState()
    {
        return natState;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("natId", getNatId())
                .append("natName", getNatName())
                .append("natState", getNatState())
                .toString();
    }
}